package behavior.template_method;

public class HummerH1Model extends HummerModel{

    @Override
    protected void start() {
        System.out.println("H1发动");
    }

    @Override
    protected void alarm() {
        System.out.println("H1按喇叭，嘀嘀嘀");
    }

    @Override
    protected void engineBoom() {
        System.out.println("H1发动机轰鸣");
    }

    @Override
    protected void stop() {
        System.out.println("H1靠边停车");
    }
}
